package com.tiger.novelbld;

import com.tiger.novelbld.base.BaseActivity;
import com.tiger.novelbld.base.CommonUtil;
import com.wiyun.ad.AdView;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

public class MainActivity extends BaseActivity{
    /** Called when the activity is first created. */
	private Button start;
	String TAG = "bld";
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main);
        
        start=(Button)this.findViewById(R.id.startread);
        start.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				MainActivity.this.startActivity(new Intent(MainActivity.this,ReadActivity.class));
			}
    	});
        
        CommonUtil.initAdView(this);
    }
    
}